package com.huawei.appmarket.framework.widget.uxwidget.hwdotspageindicator;

import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;

class HwTopBannerIndicator$c implements OnTouchListener {
    final /* synthetic */ HwTopBannerIndicator ˎ;

    private HwTopBannerIndicator$c(HwTopBannerIndicator hwTopBannerIndicator) {
        this.ˎ = hwTopBannerIndicator;
    }

    public boolean onTouch(View view, MotionEvent motionEvent) {
        switch (motionEvent.getAction()) {
            case 0:
                if (HwTopBannerIndicator.ʼ(this.ˎ) > 0.0f) {
                    this.ˎ.ॱ();
                    break;
                }
                break;
            case 1:
            case 3:
                if (HwTopBannerIndicator.ʼ(this.ˎ) > 0.0f) {
                    this.ˎ.ˋ();
                    break;
                }
                break;
        }
        return HwTopBannerIndicator.ʽ(this.ˎ);
    }
}
